//
//  LKMutableDatePicker.h
//  Mideleague_Shop
//
//  Created by Zhiwang on 2020/7/9.
//  Copyright © 2020 Zhiwang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LKBaseView.h"
#import <SVProgressHUD.h>
NS_ASSUME_NONNULL_BEGIN

@interface LKMutableDatePicker : UIView


@property(nonatomic,strong)LKBaseButton *startBtn;
@property(nonatomic,strong)LKBaseButton *endBtn;
@property(nonatomic,strong)UIView *redlineV;
@property(nonatomic,copy)NSString *startTime;
@property(nonatomic,copy)NSString *endTime;
/**
 返回自定义的选择日期的视图
 
 @param superView 视图需要显示到的superview
 @param date 选择后的日期
 @param cancel 取消选择的操作
 */
//+ (void) showCustomDatePickerAtView:(UIView *)superView
//                   choosedDateBlock:(void (^)(NSDate *date))date
//                        cancelBlock:(void(^)())cancel;
+ (void) showCustomDatePickerAtView:(UIView *)superView
choosedDateBlock:(void (^)(NSString *,NSString *))date
     cancelBlock:(void(^)())cancel;
@end

NS_ASSUME_NONNULL_END
